package com.hz.ruoyilgorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hz.rouyigonggong.domain.LgSellerOrder;
import com.hz.rouyigonggong.domain.dto.LgSellerOrderBySellerIdDTO;
import com.hz.rouyigonggong.domain.dto.LgSellerOrderDTO;
import com.hz.rouyigonggong.utils.ResultJSON;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @version 1.0
 * @Author yzw
 * @Date 2025/3/5 9:44
 * @注释
 */
public interface LgSellerOrderService extends IService<LgSellerOrder> {

    /*
     * @description: 查询全部卖家及物流订单数据
         * @param null
         * @return
         * @author: yzw
         * @date: 2025/3/5 9:46
     */

    public List<LgSellerOrderDTO> getLgSellerOrderList(LgSellerOrderDTO entity);

    /**
     * @description: TODO
         * @param orderNumber  根据id查询
         * @return com.hz.rouyigonggong.domain.dto.LgSellerOrderDTO
         * @author: yzw
         * @date: 2025/3/5 17:48
     */
    public  LgSellerOrderDTO getInfo(Integer orderNumber);

    public List<Integer> getDailyOrders(LocalDateTime startDate, LocalDateTime endDate);
    public List<LgSellerOrderBySellerIdDTO> getLgSellerOrderBySellerId(Integer sellerId);
    public LgSellerOrderBySellerIdDTO getLgSellerOrderById(Integer orderId);
}
